<?php
	class PostWidget extends CWidget
	{
		public function run()
		{
			$this->getpost();
		}
		public function getpost()
		{
			$this->render('post');
		}
	}
?>